function generateArr() {
  const keys = Object.keys(new Array(100).fill(0)).map(
    (val) => Number(val) + 1
  );
  console.log(keys);
}

generateArr();
